home *** CD-ROM | disk | FTP | other *** search
/ Workplace Effectiveness: Critical Thinking Skills / Workplace Effectiveness: Critical Thinking Skills.iso / pc / Files / Skilluse.dxr / 00004_Navigation handlers.ls < prev    next >
Encoding:
Text File  |  1998-09-15  |  1.1 KB  |  67 lines

  1. global gMasterData, gSection, gSkillData, gEvaluationData
  2.  
  3. on goIntro
  4.   go(label("intro"))
  5.   goNarrator(gMasterData, "95")
  6.   set gSection to #intro
  7.   initSkillUseData()
  8. end
  9.  
  10. on goReview
  11.   stopSound2()
  12.   go("r1")
  13.   goNarrator(gMasterData, "96")
  14.   set gSection to #review
  15.   set the frame of gSkillData to 1
  16. end
  17.  
  18. on exitReview
  19.   scoreTheInput()
  20.   stopSound2()
  21.   goScore()
  22.   goNarrator(gMasterData, "98")
  23.   preFillText()
  24. end
  25.  
  26. on goScore
  27.   go("score")
  28.   set gSection to #score
  29.   if not activationOn(gMasterData) then
  30.     activate(gMasterData)
  31.   end if
  32. end
  33.  
  34. on goAnswers
  35.   stopSound2()
  36.   go("a1")
  37.   goNarrator(gMasterData, "100")
  38.   set gSection to #answers
  39.   set the frame of gSkillData to 1
  40. end
  41.  
  42. on goPlan1
  43.   stopSound2()
  44.   go("plan1")
  45.   audio1xOnly(gMasterData, "99")
  46.   set gSection to #plan1
  47. end
  48.  
  49. on goPlan2
  50.   go("plan2")
  51.   set gSection to #plan2
  52. end
  53.  
  54. on goVideo
  55.   stopSound2()
  56.   set gSection to #video
  57.   go("video")
  58. end
  59.  
  60. on goEvaluate
  61.   if voidp(gEvaluationData) then
  62.     set gEvaluationData to [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
  63.   end if
  64.   go("eval1")
  65.   set gSection to #evaluate1
  66. end
  67.